import {
  createSSRApp
} from "vue";
import App from "./App.vue";
import {
  Button,
  NumberKeyboard,
  Icon,
  Col,Cell, CellGroup,
  Row,Popup 
} from 'vant';
import { Image as VanImage } from 'vant';
import "vant/lib/index.less"
import "./static/iconfont/iconfont.css"
import {
  setupStore
} from './store/index';
export function createApp() {
  const app = createSSRApp(App);
  app.use(setupStore)
  app.use(NumberKeyboard)
  app.use(Icon)
  app.use(Col)
  app.use(VanImage)
  app.use(Row)
  app.use(Popup)
  app.use(Cell)
  app.use(CellGroup)
  app.use(Button)
  return {
    app,
  };
}